<template>
  <!-- router-view是占位组件,用来存放路由组件  -->
  <keep-alive :include="['Home']">
    <router-view ></router-view>
  </keep-alive>
</template>

<script>
export default {
  name: "App",
};
</script>



<style scoped>




#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>